home *** CD-ROM | disk | FTP | other *** search
- /* $Id: comdllrt.cpp 1.14 1997/04/04 20:10:23 damien Exp $ */
-
- #ifdef _MAC
-
- #if defined(qPowerPC) && defined(__MWERKS__)
- #include "types.h"
- #include <CodeFragments.h>
-
- extern "C" {
- void __sinit(void); /* (generated by linker) */
- pascal OSErr __initialize(const CFragInitBlock *theInitBlock);
- pascal void __terminate(void);
- }
-
- pascal OSErr __initialize(const CFragInitBlock *theInitBlock) {
- #pragma unused (theInitBlock)
- __sinit(); // call all static initializers
- return(noErr); // return success to Code Fragment Manager
- }
-
- #endif
- #endif
-
-